home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / LDB171.ARJ / EXAMP401.CPP < prev    next >
Text File  |  1992-05-12  |  357b  |  18 lines

  1.      // exam401.cpp - link with binder.obj
  2.  
  3.      #include "tbinder.hpp"
  4.      TBINDER(int,IntBdr,IntBdR);
  5.  
  6.      main()
  7.      {
  8.           IntBdr b (BDR_DASSIGN | BDR_DNEW | BDR_DDELETE, 5);
  9.  
  10.           for (int i = 0; b.insQNew(&i); i++);
  11.  
  12.           while (b.nextAsg(&i))  cout << i << "\n";
  13.  
  14.           b.allDel();
  15.  
  16.           return 0;
  17.      }
  18.